
<%
	// **************************************
	// * developer : H-Thien
	// * comment :
	// **************************************
%>

<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ page import="otcv.hr.webapp.entity.*"%>
<%@ page import="otcv.hr.util.*"%>
<%@ include file="/jsp/inc/common.jsp"%>
<script language="javascript">
	function loginProc() {
		var forms = document.login;

		if(forms.username.value == "") {
			alert("<%=Config.getInstance().getString("login.msg002")%>");
			forms.id.focus();
			return;
		}

		if(forms.password.value == "") {
			alert("<%=Config.getInstance().getString("login.msg003")%>");
			forms.pwd.focus();
			return;
		}

		forms.action = "<%=_ContextName%>/controller?do=LOGIN_PROC_ACTION";
		forms.submit();
	}
</script>
<div class="col1">
	<form name="login" method="post">

		<table width="100%" height="100%" border="0" cellspacing="0"
			cellpadding="0">
			<tr>
				<td align="center">
					<table width="500" height="140" border="0" cellspacing="0"
						cellpadding="0">
						<col width="180">
						<col width="320">
						<tr>
							<td align="center">
								<table width="300" border="0" cellspacing="0" cellpadding="0">
									<col width="100">
									<col width="200">
									<tr height="25">
										<td><%=Config.getInstance().getString("login.title001")%></td>
										<td><input name="username" type="text" class="input100"
											value=""></td>
									</tr>
									<tr height="25">
										<td><%=Config.getInstance().getString("login.title002")%></td>
										<td><input name="password" type="password"
											class="input100" value=""></td>
									</tr>
									<tr height="30">
										<td align="right" colspan="2"><input type="button"
											name="button"
											value="<%=Config.getInstance().getString("btn.title001")%>"
											class="btn-02" onClick="javascript:loginProc();"
											style="width: 80;"></td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</td>
			<tr>
		</table>

	</form>
</div>

